package com.cip.master.dao;

import java.util.List;

import com.cip.master.model.Subject;

public interface SubjectDAO {
	
	List<Subject> getAllSubjectList() throws Exception;
	
	Subject getSubjectById(int id) throws Exception;
	
	Subject saveOrUpdateSubject(Subject subject) throws Exception;
	
	Subject editSubject(Subject subject) throws Exception;
	
	Subject getSubjectByCode(String code) throws Exception;
	
	Subject getSubjectByName(String subjectName) throws Exception;

}
